package com.itheima.pojo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
/**
 * category实体类
 * @author itheima
 *
 */
@TableName("tb_category")
public class Category implements Serializable{

	@ApiModelProperty("分类ID")
	private Integer id;//分类ID

    @ApiModelProperty("分类名称")
	private String name;//分类名称
    @ApiModelProperty("是否显示")
    @TableField(value = "is_show")
	private String isShow;//是否显示
    @ApiModelProperty("是否导航")
    @TableField(value = "is_menu")
    private String isMenu;//是否导航
    @ApiModelProperty("排序")
	private Integer seq;//排序
    @ApiModelProperty("上级ID")
    @TableField(value = "parent_id")
    private Integer parentId;//上级ID


	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}

	public String getIsShow() {
		return isShow;
	}
	public void setIsShow(String isShow) {
		this.isShow = isShow;
	}

	public String getIsMenu() {
		return isMenu;
	}
	public void setIsMenu(String isMenu) {
		this.isMenu = isMenu;
	}

	public Integer getSeq() {
		return seq;
	}
	public void setSeq(Integer seq) {
		this.seq = seq;
	}

	public Integer getParentId() {
		return parentId;
	}
	public void setParentId(Integer parentId) {
		this.parentId = parentId;
	}



}
